Newly introduced defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.vala: scope_hint: In function ‘ldefault_apps_update_windows_construct’
lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.vala:46:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_object_new(object_type, 0)’
lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.c:69:35: note: in definition of macro ‘_g_key_file_unref0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.vala:33:6: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.vala:83:2: note: in expansion of macro ‘g_return_val_if_fail’
lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.c:69:35: note: in definition of macro ‘_g_key_file_unref0’
#   44|   	        this.add (new Gtk.Label (_("The database is updating, please wait")));
#   45|   
#   46|->             kf = get_keyfile();
#   47|               update_database();
#   48|           }

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-37.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelxsession-0.5.5^20230917gite0fffa66-4.fc40
diffbase-store-results-to/tmp/tmpdce_5vpt/lxsession-0.5.5^20230917gite0fffa66-4.fc40.tar.xz
diffbase-time-created2024-07-03 16:17:10
diffbase-time-finished2024-07-03 16:19:41
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpdce_5vpt/lxsession-0.5.5^20230917gite0fffa66-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpdce_5vpt/lxsession-0.5.5^20230917gite0fffa66-4.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-37.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelxsession-0.5.5^20230917gite0fffa66-4.fc41
store-results-to/tmp/tmpgm0gowud/lxsession-0.5.5^20230917gite0fffa66-4.fc41.tar.xz
time-created2024-07-03 16:20:14
time-finished2024-07-03 16:22:26
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpgm0gowud/lxsession-0.5.5^20230917gite0fffa66-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpgm0gowud/lxsession-0.5.5^20230917gite0fffa66-4.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9